[PATCH] [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 23 May 2024 12:09:03 +0000 (15:09 +0300)
committerRaspbian forward porter <root@raspbian.org>
Sat, 24 Jan 2026 09:41:14 +0000 (09:41 +0000)
commitcdc450f4d06f080300046226a47c458f54457e25
tree7b6259aec017ee218be1c3e1993bb318d3166220
parent47244870b3d9279127702b3fc940363a2ed2a470
[PATCH] [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e85fcdd495947c9e892ce6e3734652c48f2)
(cherry picked from commit 4762b365406a8cf026a4a4ddcae34c28a41c3de9)

Gbp-Pq: Name CVE-2025-1795-2.patch
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py